﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace GGJ2014
{
    class ArcherArrow : ActionObject
    {
        int velocity = 10;

        public ArcherArrow(PlayScreen ps)
            : base(ps, GameObject.tile)
        {
            speed = velocity * ps.player.dir;
            position = ps.player.position + speed;
        }

        public override void Update(GameTime gameTime)
        {
            position += speed;
        }
    }
}
